package com.blockchain.front.servlets.api;

public enum ErrorCode {
	CSCU(10000, "参数错误"), CXCU(10001, "处理错误"), YHBCZ(10002, "用户不存在");
	protected final Integer code;
	protected final String errmessage;

	private ErrorCode(Integer code, String errmessage) {
		this.code = code;
		this.errmessage = errmessage;
	}

	public String getName() {
		return errmessage;
	}

	public Integer getErrorCode() {
		return code;
	}
}
